﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NoticeCorpWechat.postdata
{
    public class TextContent
    {
        public string content { get; set; }
    }

    public class MessageTextPost: MessagePost
    {
        public MessageTextPost() {
            msgtype = "text";
        }
        public TextContent text { get; set; }
        public int enable_id_trans { get; set; }
    }

    public class MessagePost
    {
        public string touser { get; set; }
        public string toparty { get; set; }
        public string totag { get; set; }
        public string msgtype { get; set; }
        public int agentid { get; set; }
        public int safe { get; set; }
        public int enable_duplicate_check { get; set; }
        public int duplicate_check_interval { get; set; }
    }
}
